package com.jbp.ssm.entity;

import java.io.Serializable;

/**
 * Created by david on 2017/6/2.
 *
 * @email davidmaster@163.com
 */
public class ApiResult<T> implements Serializable {
    private static final long serialVersionUID = -3817860675089932465L;
    private Integer code;
    private T data;
    private String errMsg;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }
}

